home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / linux / cramfs_fs_sb.h < prev    next >
C/C++ Source or Header  |  2005-10-13  |  343b  |  21 lines

  1. #ifndef _CRAMFS_FS_SB
  2. #define _CRAMFS_FS_SB
  3.  
  4. /*
  5.  * cramfs super-block data in memory
  6.  */
  7. struct cramfs_sb_info {
  8.             unsigned long magic;
  9.             unsigned long size;
  10.             unsigned long blocks;
  11.             unsigned long files;
  12.             unsigned long flags;
  13. };
  14.  
  15. static inline struct cramfs_sb_info *CRAMFS_SB(struct super_block *sb)
  16. {
  17.     return sb->s_fs_info;
  18. }
  19.  
  20. #endif
  21.